<?php
		$db=new db;
		$db->connect();
		$db->query('SELECT truyen . * , truyen_theloai.ten AS theloai_ten, truyen_theloai.id AS theloai_id, truyen_theloai.alias AS theloai_alias
					FROM truyen
						LEFT JOIN truyen_theloai ON truyen.theloai = truyen_theloai.id
						ORDER BY truyen.id DESC 
					LIMIT 0 , 4');
		$data['decu']=$db->fetchAll();
			
			
			$data1[title]=web_title(HEAD,'home');
			loadview('template/header',$data1);
			loadview("news/list_news_grid_home",$data);
			
			
